raar.world
Class RAWorldObjectMovable
java.lang.Object
vectorimage.VectorObject
raar.world.RAWorldObject
raar.world.RAWorldObjectMovable
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- RAAgent
public class RAWorldObjectMovable
- extends RAWorldObject
A movable world object is... movable :)
- See Also:
- Serialized Form
|
Constructor Summary |
RAWorldObjectMovable(java.lang.String className,
java.lang.String name,
int type,
java.awt.geom.Rectangle2D.Double bounds,
double rotation,
java.awt.Color color,
boolean isStatic,
boolean fixed,
boolean massive,
boolean light,
double delay)
Construct the shape. |
|
Method Summary |
void |
resetPR()
Reset position and rotation to original. |
void |
setPR(java.awt.geom.Point2D.Double position,
double rotation)
Notify of original position and rotation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RAWorldObjectMovable
public RAWorldObjectMovable(java.lang.String className,
java.lang.String name,
int type,
java.awt.geom.Rectangle2D.Double bounds,
double rotation,
java.awt.Color color,
boolean isStatic,
boolean fixed,
boolean massive,
boolean light,
double delay)
- Construct the shape.
setPR
public void setPR(java.awt.geom.Point2D.Double position,
double rotation)
- Notify of original position and rotation.
resetPR
public void resetPR()
throws RAException
- Reset position and rotation to original.
- Throws:
RAException